package com.example.patient.jpa;

import com.example.common.entity.Address;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Author wxy
 * @Date 2021/1/22 14:39
 * @Version 1.0
 */
public interface AddressRepository extends JpaRepository<Address, Long> {

    Address findFirstByClientIdAndDefaultBit(Long clientId, Boolean defaultBit);
}
